package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class SysHpSubwayRowMapper implements RowMapper<SysHpSubway>  {
    @Override
    public SysHpSubway mapRow(ResultSet rs, int rowNum) throws SQLException {
        SysHpSubway sysHpSubway=new SysHpSubway();
        sysHpSubway.setSpotCode(rs.getString("spotCode"));
//        sysHpSubway.setSubwayId(rs.getString("subwayId"));
        sysHpSubway.setSubwayname(rs.getString("subwayname"));
        return sysHpSubway;
    }
}
